Two Steps to a Memorable Boat Ride

Revision 1A

 

I noticed whilst browsing for information on RPG-2000, I found 
that there was no help concerning the implementation of a call 
feature when riding vehicles. I was left to my own feeble under
standing of the application to develop it myself. After much time 
trying to work the stupid thing out with the vehicles, I thought to 
myself and gathered that the rookies (eg. Me) could benefit from
 my very small amounts of wisdom into developing some code to 
make the stupid thing go onboard the boat, or whatever when you 
pressed a button whilst riding it.

 

Firstly, yes, I shall be releasing an RPG  It is currently in 
development (I think the story sucks ha ha ha). It currently 
lasts for about two hours, well when I played it anyway (for bug 
hecking for oogling, blah, blah theres still more I think)

 

So please do look out for it, I guess you can have a few minutes fun 
until you get wary of it.

 

Oh, and its called Legend  so the names taken (sorry fellas)

 

Now, to creating that Event. I guess you experienced people know 
about it, and I dont like the secrecy that youve placed behind it. I 
find it rather rude, and for shame on you people.

 

Im sorry people, the first release of this missed out a few things. I 
was on my way to school, and when I returned I noticed I had
 mistakes  sorry.

 

Step 1: When you take her for a spin 
 

Firstly, (duh) you need to create a Common Event, its really simple
 once you figure it out but figuring it out really did beat me for 
about ten minutes (gotta admit, not bad for a rookie).

 

If its confusing, Ive included the source, and a bit of an explaination, 
which is at the end of this document

 

In order for this to work  YOU MUST HAVE THIS COMMON EVENT 
SET AS A PARALLEL PROCESS!!!!

 

Here are the functions that you must have in order for it to work

 

To start with, you must make a fork based on a riding a Vehicle 
(eg. Boat). You must add an ELSE statement to this (youll find out 
from step 15 onwards why). 
 

disable the system menu 
 

Enter Password (base it on the cancel key, and create a variable 
number for it to throw its input value into) 
 

Create another fork inside the current fork, and base it on the 
variable which you chose to use for your enter password. You need to set the variable number for it to look for 
as 6, and it must be same (that drop down combo box has a few options there) 
 

The next step is to Memorise your current location. Youll have to
 make a further three variable entries to get this SOB to work too 
call it something like MAP_ID, X-Coord and Y-Coord (you get 
the picture). 
 

Now you need to make the screen go pitch black. To do this you need 
to set the Screen Tone to the fat Zero on all four slide bars. 
 

Now you teleport your hero to the desired screen (like the deck of 
the boat, or whatever) 
 

You have insert a wait say for about 0.2 seconds. (so, thats a 
value of 2) 
 

Then you need to move the boat (using a move event) to faceleft, 
or faceright depending on where you wanna show your hero) 
 

Place in a Ride Vehicle/Dismount command. 
 

put in a wait for about 0.1 seconds. 
 

wish away the boat (or whatever) to your memorised location 
 

Now, you can restore to screen back to its original screen tone 
(all values 100) 
 

hey presto! Youre on your boat!! 
 

Now, with the ELSE statement of the FORK in step 1, you must make 
another, it too must check for the variable that you get your password
 to store its values in (IT MUST BE ON THE 1ST FORK YOU MADE 
OR ITLL CUT YOU OFF FROM THE SYSTEM MENU!!!). You must get 
it to look for the Variable of 6 (which is the CANCEL button (esc) 
key) and set it to same. 
 

Now you tell it to call the system menu. 
 

By doing this, youll be able to access the menu whilst youre NOT 
riding the vehicle. If this isnt included youre system menu will not
 show up at all!

 

It should look something like this 

 

LEGEND

 

GREEN  notes

WHITE  CODE

 

 

<>FORK Optn:Boat Riding

          <>DISABLE SYSTEM MENU: Disable

          <>ENTER PASSWORD: [0001: Key Code]

          <>FORK Varbl[0001: Key Code] - 6

                   <>MEMORY PLACE [0002], [0003], [0004] <- (thats variables)

                   <>SET SCREEN TONE: (R000,G000,B000,S000), 0.1(W)

                   <>TELEPORT: (MAP?? whatever its called) (Coordinates)

                   <>WAIT 0.2 sec

                   <>SETUP VEHICLE PLACE: (MAP?? your world map) (coordinates, they can be wherever)

                   <>SET SCREEN TONE: (R100,G100,B100,S100), 0.1(W)

                   <>VARIABLE CH[0001: Key Code], set 0

                   <>

          :ENDCASE

          <>

:ELSE

<>FORK Varbl[0001: Key Code]  6

                    <>CALL SYSTEM MENU

          :ENDCASE

          <>

 

NOTE: This can be further modified to create a call for the SHIP and 
AIRSHIP

 

 

Step 2  Getting your ass back onto the boat and onto the world 
map whilst your at it

 

Now to get your ass back onto the boat, its a little easier (I do 
mean a little)

Again, if its confusing, Ive included the source, and a bit of an explain
ation.

 

 

Firstly, well make another common event, or you can add it to the 
character that sits behind the wheel so to speak.

 

THIS MUST BE SET TO A CALL EVENT! SO YOU CAN CALL IT FROM 
THE NPC THAT IS SUPPOSED TO DRIVE THE THING!

 

Set the screen tone to all zero 
 

Throw the boat (or whatever) onto the map of the boat (or whatever). Using Setup boat location (not using a variable) 
 

Move Event  Face the BOAT (or SHIP, or AIRSHIP) to the right 
 

Teleport your hero so he/she/it is on the right of the boat (where you
 chose to place it) 
 

Move Event  Face the HERO to the left 
 

wait for 0.2 sec 
 

Ride the Vehicle 
 

then you goto the Memorised Place using the MAP_ID, X-Coord and 
Y-Coord variables 
 

And, now to run this Common Event, you need to get the Pilot
 character, and add a CALL EVENT [whatever you called the event] 
and off shell go. 
 

 

CODE: Something like this
 

WHITE  Code

Green  Notes

 

<>Messg:\c[2]Pilot\c[0]    Only as an example he he J

          Iye Iye Sir

<>SET SCREEN TONE (R000,G000,B000,C000), 0.1sec(W)

<>SETUP VEHICLE PLACE (Map name) (x and y coord)

<>WAIT 0.2sec

<>TELEPORT [coordinates that is directly LEFT of the VEHICLE PLACE!]       * THIS IS CRITICAL TO IT WORKING!!!!

<>MOVE EVENT Hero, FaceLeft

<>WAIT 0.2sec

<>GOTO MEMORISED PLACE [0001],[0002],[0003]

<>DISABLE SYSTEM MENU: Disable

<>SET SCREEN TONE (R100,G100,B100,C100),0.1sec(W)

 

 

OVERALL EXPLAINATION:

 

Okay, thats it now I should explain a little more

 

Now this memorised place is taken when you run the STEP 1 process. The Variable 0001 will store the MAP ID number of your world map, and the 0002 will record the X coordinate and the 0003 will store the Y coordinate. This will ensure that your boat will reappear where you left it on the world map.

 

When the cancel button is pressed, the STEP 1 Common Event is 
triggered, and If you are riding the boat, itll run the code under 
that FORK. Otherwise, itll just assume that you want to call the 
System Menu and will do so.

 

THIS SHOULD WORK, of course my code is a little different 
but I think it should work because Ive included all the important 
stuff. (mines just a mess just like my game lol)

 

There is also room, by using this code to add more to it, say when
 youre riding a SHIP or an AIRSHIP.

 

 

CONCLUSION
 

This concludes Two Steps to a Memorable Boat Ride and I hope Ive 
managed to explain this enough. Anyway if you have a problem I 
guess you can email me (but I hardly read my mail nowdays) on
 Godwraith01@hotmail.com

 

Happy RPG-making ppls!

 

 

*End file (just so you know you got it all)*
